catch mkstyle.sh up with nullptr.
authortsteven4 <tsteven4@gmail.com>
Tue, 5 Jun 2018 05:46:26 +0000 (23:46 -0600)
committertsteven4 <tsteven4@gmail.com>
Tue, 5 Jun 2018 05:46:26 +0000 (23:46 -0600)
internal_styles.cc
mkstyle.sh

index f879944ccad9c2bf2d9371ffb021b5ab98cb6b79..b046e0e208b325fa1dd38b977ecfb56619bc013b 100644 (file)
@@ -1492,6 +1492,6 @@ static char xmapwpt[] =
 style_vecs_t style_list[] = {{ "xmapwpt", xmapwpt } , { "xmap2006", xmap2006 } , { "xmap", xmap } , { "tomtom_itn_places", tomtom_itn_places } , { "tomtom_itn", tomtom_itn } , { "tomtom_asc", tomtom_asc } , { "tabsep", tabsep } , { "saplus", saplus } , { "s_and_t", s_and_t } , { "ricoh", ricoh } , { "openoffice", openoffice } , { "nima", nima } , { "navigonwpt", navigonwpt } , { "mxf", mxf } , { "motoactv", motoactv } , { "mapconverter", mapconverter } , { "mainnav", mainnav } , { "land_air_sea", land_air_sea } , { "kompass_wp", kompass_wp } , { "kompass_tk", kompass_tk } , { "igoprimo_poi", igoprimo_poi } , { "igo2008_poi", igo2008_poi } , { "iblue757", iblue757 } , { "iblue747", iblue747 } , { "gpsman", gpsman } , { "gpsdrivetrack", gpsdrivetrack } , { "gpsdrive", gpsdrive } , { "geonet", geonet } , { "garmin_poi", garmin_poi } , { "garmin_g1000", garmin_g1000 } , { "garmin301", garmin301 } , { "fugawi", fugawi } , { "flysight", flysight } , { "dna", dna } , { "custom", custom } , { "cup", cup } , { "csv", csv } , { "cambridge", cambridge } , { "arc", arc } ,  {nullptr,nullptr}};
 size_t nstyles = 39;
 #else /* CSVFMTS_ENABLED */
-style_vecs_t style_list[] = {{0,0}};
+style_vecs_t style_list[] = {{nullptr,nullptr}};
 size_t nstyles = 0;
 #endif /* CSVFMTS_ENABLED */
index cfd1a86a3babb98ae4182818b3cf064f7b44a282..69138be864eb2290119febd33e3ff15d126512a8 100755 (executable)
@@ -38,10 +38,10 @@ do
        echo "  ;"
        nstyles=`expr $nstyles + 1`;
 done
-echo "style_vecs_t style_list[] = {$ALIST {0,0}};"
+echo "style_vecs_t style_list[] = {$ALIST {nullptr,nullptr}};"
 echo "size_t nstyles = $nstyles;"
 echo "#else /* CSVFMTS_ENABLED */"
-echo "style_vecs_t style_list[] = {{0,0}};"
+echo "style_vecs_t style_list[] = {{nullptr,nullptr}};"
 echo "size_t nstyles = 0;"
 echo "#endif /* CSVFMTS_ENABLED */"